<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body style="background-color: #E8E8E8">
<div id="app" style="display:none;margin-bottom:400px;text-align:center;margin-top:80px;">
  <p style="font-size:36px;margin-bottom:70px">亲，请选择对应的版本下载！</p>
  <span style="margin-right:20px"><a href="http://10.230.33.22/NBAM/vms/vms.apk"><button style="border-radius:6px;border:solid;border-width:1px;border-color:#dfdfdf;background-color:#eeeeee;height:100px;width:40%;font-size:30px;color:#2683FA">Android版</button></a></span>
  <span><a href="itms-services://?action=download-manifest&url=https://gitee.com/103903530/vms_plist/raw/master/manifest.plist"><button style="border-radius:6px;border:solid;border-width:1px;border-color:#dfdfdf;background-color:#eeeeee;height:100px;width:40%;font-size:30px;color:#2683FA">iPhone版</button></a></span>
</div>
<div id="tip" style="display:none;text-align:right;margin:0 60px 0 0;">
  <svg t="1620615271184" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18824" data-spm-anchor-id="a313x.7781069.0.i1" width="64" height="64"><path d="M131.014007 1023.921316c148.268902-13.678638 276.898291-146.292401 298.043709-292.396564 5.741263-39.592754 1.851008-83.514984-22.996425-116.456657a114.82526 114.82526 0 0 0-80.503175-44.361453c-31.373022-2.886318-62.746044 10.572708-79.091388 38.180967-18.070861 30.369085-15.027678 70.997149 3.137302 100.393671 41.94573 68.142204 137.853058 78.746285 208.536477 59.608741 77.930586-21.082671 140.394273-76.456054 182.245884-144.127662a511.0979 511.0979 0 0 0 50.196835-110.087934c13.741384-41.94573 23.906243-89.036636 6.274605-131.484335-13.019804-31.373022-40.628063-58.604805-76.20507-60.487187-30.682815-1.631397-64.408814 16.690448-73.318753 47.404637-5.207922 17.851249 12.266852 37.647626 24.50233 49.036033a130.260787 130.260787 0 0 0 45.992851 27.294529c37.647626 13.176669 78.871777 7.937375 113.570339-11.011931 87.248374-47.686993 109.585966-151.876799 114.605649-243.046801 1.129429-20.172853-30.274966-20.110107-31.373022 0-4.078493 73.789348-18.290472 156.86511-81.067888 204.363865-49.443883 37.490761-129.633327 35.451515-158.52788-26.635695l1.568651 12.078613c4.956937-19.137543 24.910179-29.804371 43.922231-28.23572 22.682695 1.9765 39.686873 21.710131 47.65562 41.663373 19.953242 49.977224-6.086366 112.942879-26.57295 159.186714-41.00454 92.29943-116.425284 176.504621-221.681773 189.744036-46.432072 5.835382-101.899575-3.356913-134.621637-39.718246-27.420021-30.494577-28.894553-93.115129 20.110107-102.495662 43.043786-8.251105 80.691412 25.098418 90.762153 64.848036 12.549209 49.31839-5.270668 103.876076-27.420021 147.892426-45.930104 91.609224-132.99024 167.814294-237.744761 177.477185-19.953242 1.819635-20.14148 33.22403 0 31.373021z" fill="#515151" p-id="18825"></path><path d="M750.662563 168.190771l51.671368 17.851249c17.098297 5.898128 34.510324 13.710011 52.110589 17.788503 15.937495 3.702017 33.067165-1.631397 41.694746-16.031614 8.251105-13.741384 8.219732-31.373022 9.411907-46.871295a857.205078 857.205078 0 0 0 0.345103-125.021492c-1.600024-20.015988-32.973046-20.172853-31.373022 0a853.346196 853.346196 0 0 1 0.62746 108.613402c-0.439222 8.40797-0.941191 16.847313-1.600024 25.255283-0.470595 5.615771 0 15.310035-3.137302 20.235599-3.73339 5.678517-9.129549 3.137302-14.588455 1.286294-32.565197-10.760947-64.628425-22.243473-96.691654-33.255404-19.10617-6.619708-27.325902 23.686632-8.345223 30.243594z" fill="#515151" p-id="18826"></path><path d="M764.560812 156.86511c43.357516-45.67912 93.209248-84.393429 136.566765-129.884311 13.929622-14.619828-8.219732-36.831928-22.180727-22.180727-43.357516 45.396763-93.209248 84.205191-136.566764 129.696073-13.929622 14.619828 8.219732 36.863301 22.180726 22.212099z" fill="#515151" p-id="18827"></path><path d="M857.173973 45.334017a80.722785 80.722785 0 0 0-6.054993 7.843255c-11.231542 1.066683-19.231662 12.862939-25.098418 26.416085a15.686511 15.686511 0 0 0-17.913995 14.211979 61.020528 61.020528 0 0 0 0 13.741383 77.459991 77.459991 0 0 1-9.004058 1.788262 14.619828 14.619828 0 0 0-11.73351 11.482526l-2.258857-1.160801c-17.537519-9.662891-34.824054 16.564956-17.066924 26.353338a219.611153 219.611153 0 0 0 95.373986 27.576886 14.494336 14.494336 0 0 0 14.933559-9.600144 15.874749 15.874749 0 0 0 6.525588-15.15317q-2.823572-25.882743-5.70989-51.734113a14.149233 14.149233 0 0 0-1.568651-5.145176 107.327108 107.327108 0 0 0 8.376597-17.035551 13.615892 13.615892 0 0 0-3.137302-14.651201c3.294167-13.208042-15.529646-26.227846-25.663132-14.933558z" fill="#515151" p-id="18828" data-spm-anchor-id="a313x.7781069.0.i0" class=""></path></svg>
  <p style="font-size:36px;margin:0;">请点击右上角"···"在手机自带浏览器中打开</p>
</div>
<script type="text/javascript">
  document.addEventListener('DOMContentLoaded', function() {
    var isWeiXin = false;
    var platform = '';
    (function (){
      var ua = window.navigator.userAgent.toLowerCase();
      if (ua.indexOf('iphone') > 0 ) {
        platform = 'ios';
      }else if (ua.indexOf('ipad') > 0 ) {
        platform = 'ios';
      }else if (ua.indexOf('android') > 0) { //需对所有 Android 系统 UA 信息进行判断
        platform = 'android';
      }
      if(ua.match(/MicroMessenger/i) == 'micromessenger'){
        isWeiXin = true;
      }
    })();
    if (!platform || isWeiXin) {
      document.getElementById('tip').style.display = 'block';
    } else {
      document.getElementById('app').style.display = 'block';
      var android_down_url = "http://10.230.33.22/NBAM/vms/vms.apk";
      var ios_down_url = "itms-services://?action=download-manifest&url=https://gitee.com/103903530/vms_plist/raw/master/manifest.plist";
      if (platform == 'ios') {
        window.location.href = ios_down_url;
      } else if (platform == 'android') {
        window.location.href = android_down_url;
      }
    }
  })
</script>
</body>
</html>